﻿<div id="SimpleComment">  
<!-- Output SimpleComment title -->
<h1> 
<span>相关评论 by <a href="http://52simplecomment.appspot.com" target="_blank">SimpleComment</a></span> 	 			
<span id="add_label"><a href="javascript:void(0);" onclick="textareaFocus();">添加评论</a></span> 
<span id="admin_label"><a href="http://52simplecomment.appspot.com/admin" target="_blank">管理评论</a></span> 
</h1> 			
<!-- Output comment list -->
<ul> 
{% for greeting in greetings %}  
         <li> 
         <h4> 					
		     <span class="author">
			      {% if greeting.author %}
			        {{ greeting.author.nickname }} 
			      {% else %}
			       匿名用户
			      {% endif %}		     	
		     	</span>  
         <span class="date">{{ greeting.date }}</span> 
         </h4>  
         <p class="content">{{ greeting.content|escape }}</p> 
         </li> 
{% endfor %}          
</ul>  
<!-- Output SimpleComment POST form --> 
<form action="/post" method="post"> 
<div><textarea name="content" rows="6" cols="80"></textarea></div> 
<div><input type="submit" value="Sign Guestbook"></div> 
</form>    
</div> 